<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>{$title}</title>
	<link rel="stylesheet" type="text/css"
		  href="__PUBLIC__/css/admin/invalid.css">
	<link rel="stylesheet" type="text/css"
		  href="__PUBLIC__/css/admin/reset.css">
	<link rel="stylesheet" type="text/css"
		  href="__PUBLIC__/css/admin/style.css">
	<link rel="stylesheet" type="text/css" href="__ROOT__/ueditor/themes/default/ueditor.css">
	<script type="text/javascript" src="__PUBLIC__/js/admin/facebox.js"></script>
	<script type="text/javascript"
			src="__PUBLIC__/js/admin/jquery-1.3.2.min.js"></script>
	<script type="text/javascript"
			src="__PUBLIC__/js/admin/simpla.jquery.configuration.js"></script>
	<script type="text/javascript"
			src="__PUBLIC__/js/admin/jquery.wysiwyg.js"></script>
	<script type="text/javascript" src="__ROOT__/ueditor/editor_all.js"></script>
	<script type="text/javascript" src="__ROOT__/ueditor/editor_config.js"></script>

	<style type="text/css">
		#siderbar-wrapper h1 {
			position: static ;
			font-size: 2.2em;
			text-align: center;
		}
		form{
			margin-bottom: 20px;
		}
	</style>
</head>
<body>
<div id="body-wrapper">
	<div id="sidebar">
		<div id="siderbar-wrapper">
			<h1 id="sidebar-title">
				<a href="#">{$title}</a>
			</h1>
			<div id="profile-links">
				您好,<a href="#" title="当前用户">{$username}</a>管理员 | <a
					href="__URL__/quit" title="退出">退出</a>
			</div>

			<ul id="main-nav">
				<li><a href="#" class="nav-top-item">软件学院</a>
					<ul>
						<li><a href="#">系部简介</a></li>
						<li><a href="#">部门结构</a></li>
						<li><a href="#">人员组织</a></li>
					</ul></li>
				<li><a href="#" class="nav-top-item">其他</a>
					<ul>
						<li><a href="#">软件技术</a></li>
						<li><a href="#">学术交流</a></li>
					</ul></li>
			</ul>
		</div>
	</div>
</div>

<div id="main-content">
	<h2>{$title_text}</h2>
	<!--加载百度编辑器-->

	<form action="__URL__/{$btn_ok_act}" method="post">
		<input type="hidden" id="id" name="id" value="{$article_item.id}">
		<p class="subtit">文章标题</p>
		<div>
			<select id="selType" name="select">
				<option value="0">请选择</option>
				<?php foreach($data as $k=>$v):?>
				<option value="<?=$v['id']?>"><?=$v['name']?></option>
				<?php endforeach;?>

				<!--<volist>-->
				<!--<option value="0">请选择</option>-->
				<!--<option value="1">娱乐</option>-->
				<!--<option value="2">政治</option>-->
				<!--<option value="3">民事</option>-->
				<!--</volist>-->
			</select>
			<input type="text" id="txtTitle" name="wzname"
				   style="width:560px; height:20px; float:left;" maxlength="100"
				   value="{$article_item.wzname}"/>
		</div>
		<br><br>
		<p class="subtit">文章内容</p>
		<div id="myEditor">

				<script type="text/javascript">
				var editor = new baidu.editor.ui.Editor({
				    initialContent:'{$article_item.message}'}
				);
				editor.render("myEditor");
				</script>
		</div>
		<br><br>
		<input type="submit" value="{$btn_ok_text}"/>
	</form>
	<div class="clear"></div>
	<div class="footer">
		<small>
			&#169;
			<a href="#">Top</a>
		</small>
	</div>
</div>
</body>
</html>